package com.erp.erp_ui.ProductMainInfo.vo;

import com.erp.erp_entitys.ProducFjInfo.ProducFjInfoEntity;
import com.erp.erp_entitys.ProductFjGe.ProductFjGeEntity;
import com.erp.erp_entitys.ProductFjGysBak.ProductFjGysBakEntity;
import com.erp.erp_entitys.ProductMainInfo.ProductMainInfoVoEntity;

import java.util.List;

/**
 * @ClassName : ProductMargeInfoVo
 * @Description : 产品合并数据出参实体
 * @Author : lst
 * @Date: 2021-09-23 14:25
 */
public class ProductMargeInfoVo {

    /**
     * 产品主信息
     */
    private ProductMainInfoVoEntity mainInfo;

    /**
     * 产品规格信息集合
     */
    private List<ProducFjInfoEntity> specList;

    /**
     * 配件信息集合
     */
    private List<ProductFjGeEntity> partsList;

    /**
     * 供应商信息集合
     */
    private List<ProductFjGysBakEntity> supplierList;

    /**
     * 供应商价格对象集合
     */
    private List<SupplierPriceVo> supplierPriceVos;


    public ProductMainInfoVoEntity getMainInfo() {
        return mainInfo;
    }

    public void setMainInfo(ProductMainInfoVoEntity mainInfo) {
        this.mainInfo = mainInfo;
    }

    public List<ProducFjInfoEntity> getSpecList() {
        return specList;
    }

    public void setSpecList(List<ProducFjInfoEntity> specList) {
        this.specList = specList;
    }

    public List<ProductFjGeEntity> getPartsList() {
        return partsList;
    }

    public void setPartsList(List<ProductFjGeEntity> partsList) {
        this.partsList = partsList;
    }

    public List<ProductFjGysBakEntity> getSupplierList() {
        return supplierList;
    }

    public void setSupplierList(List<ProductFjGysBakEntity> supplierList) {
        this.supplierList = supplierList;
    }

    public List<SupplierPriceVo> getSupplierPriceVos() {
        return supplierPriceVos;
    }

    public void setSupplierPriceVos(List<SupplierPriceVo> supplierPriceVos) {
        this.supplierPriceVos = supplierPriceVos;
    }


    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("ProductMargeInfoVo").append('[')
                .append("mainInfo=")
                .append(mainInfo)
                .append(",specList=")
                .append(specList)
                .append(",partsList=")
                .append(partsList)
                .append(",supplierList=")
                .append(supplierList)
                .append(",supplierPriceVos=")
                .append(supplierPriceVos)
                .append(']');
        return sb.toString();
    }
}
